@import "/styles/theme.css";

body, main {
  color: #333;
  padding: 0;
  margin: 0;
  background-color: #FFF;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  font-size: 100%;
}

main[data-theme="dark"] {
  background-color: #222222;
}

body::-webkit-scrollbar {
  width: 5px;
  position: absolute;
}

body::-webkit-scrollbar-track {
  background: #ddd;
}

body::-webkit-scrollbar-thumb {
  background: #666;
}

h1:first-child {
  border-bottom: 1px solid #CCCCCC;
  font-size: 16px;
  font-weight: normal;
  padding: 10px;
  box-sizing: border-box;
  margin: 0;
  position: sticky;
  top: 0;
  user-select: none;
}

[data-theme="dark"] h1:first-child {
  border-bottom: none;
}

#not-found {
  text-align: center;
  font-size: 20px;
  font-weight: normal;
  box-sizing: border-box;
  margin: 0;
  user-select: none;
  line-height: 100vh;
}

#not-found img {
  position: relative;
  top: 17px;
  margin-left: 5px;
  margin-right: 5px;
}

[data-theme="dark"] #not-found {
  color: #BDC6CF;
  background: transparent;
}

.retry button {
  -webkit-appearance: none;
  padding: 20px;
  height: 120px;
  width: 120px;
  text-align: center;
  color: #333;
  font-size: 60px;
  font-weight: bold;
  background-color: #E2E2E2;
  border-radius: 60px;
  margin-top: 20px;
  opacity: .2;
  transition: opacity 600ms;
  cursor: pointer;
}

.retry button:active {
  outline: none !important;
}

.retry button:focus {
  outline: none !important;
}

.retry button:hover {
  opacity: 1;
}

.rows:empty:after {
  display: block;
  background-color: #fafafa;
  height: 46px;
  line-height: 46px;
  content: "No transactions";
  color: #333;
  padding-left: 20px;
  border-bottom: 1px dotted #a3a3a3;
}
